//
//  BK_My_Order_Model.h
//  bestkeep
//
//  Created by TOPTEAM on 2017/2/15.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BK_My_Order_Model : NSObject
//"total": "xxx//总记录数",
//"pageno": "xxx//当前第几页",
//"pagesize": "xxx//每个显示多少条",

@property (nonatomic,strong)NSString *total;//总记录数",
@property (nonatomic,strong)NSString *pageno;//当前第几页",
@property (nonatomic,strong)NSString *pagesize;//每个显示多少条",


@property (nonatomic,strong)NSArray  *rows;

@end


@interface BK_My_Order_rows_Model : NSObject

@property (nonatomic,strong)NSString *deliver;//发货地",
@property (nonatomic,strong)NSString *amount;//订单商品总数",
@property (nonatomic,strong)NSString *order_id;// "订单id",
@property (nonatomic,strong)NSString *order_no;//订单号",
@property (nonatomic,strong)NSString *order_amount;//订单总金额",
@property (nonatomic,strong)NSString *express_amount;//运费",
@property (nonatomic,strong)NSString *status_name;//状态名称",
@property (nonatomic,strong)NSString *status;//订单状态",
@property (nonatomic,strong)NSString *own_cancel_flag;//是否可取消订单（1可取消，0不可取消）",
@property (nonatomic,strong)NSString *channel_type;//"channel_type": "渠道类型01：自营 02：全球购 03：供应商",
@property (nonatomic,strong)NSString *customs_tax_amount_total;//海关税（全球购）总额",
@property (nonatomic,strong)NSString *order_goods_count;//订单商品总件数",
@property (nonatomic,strong)NSString *splitFlag;//0:不可拆单，1：可拆单",
@property (nonatomic,strong)NSString *plan_deliver_date;//预计发货日期",
@property (nonatomic,strong)NSString *order_created_date;//用户下单时间",
@property (nonatomic,strong)NSString *evaluation_flag;//去评价标识：1去评价；0不显示去评价",
@property (nonatomic,strong)NSString *thNormalType;//"thNormalType": "囤货普通预购：0，否；1，是",


@property (nonatomic,strong)NSArray  *item_list;

//自己加的属性;
@property(nonatomic,assign)BOOL isShow_Return_Goods;//退换货;根据BK_My_Order_rows_itemList_Model中的returnflag;

@end

@interface BK_My_Order_rows_itemList_Model : NSObject


@property (nonatomic,strong)NSString *order_item_id;//订单子项表ID",
@property (nonatomic,strong)NSString *goods_id;//商品ID",
@property (nonatomic,strong)NSString *goods_img;//商品图片",
@property (nonatomic,strong)NSString *goods_name;//商品名称",
@property (nonatomic,strong)NSString *sale_property;//销售属性描述，颜色：黑色",
@property (nonatomic,strong)NSString *goods_pro_rel1;//商品销售属性1",
@property (nonatomic,strong)NSString *goods_pro_rel2;//商品销售属性2",
@property (nonatomic,strong)NSString *goods_pro_rel3;//商品销售属性3",
@property (nonatomic,strong)NSString *goods_pro_rel4;//商品销售属性4",
@property (nonatomic,strong)NSString *goods_pro_rel5;//商品销售属性5",
@property (nonatomic,strong)NSString *member_price;//会员价",
@property (nonatomic,strong)NSString *tax_amount;//糖赋",
@property (nonatomic,strong)NSString *customs_tax_amount;//海关税（全球购",
@property (nonatomic,strong)NSString *discount_amount;//糖惠金（全球购",
@property (nonatomic,strong)NSString *total_amount;//实付款",
@property (nonatomic,strong)NSString *amount;//商品数量",
@property (nonatomic,strong)NSString *plan_deliver_date;//预计发货日期",
@property (nonatomic,strong)NSString *evaluation_flag;//评价标识 1去评价,0不评价",
@property (nonatomic,strong)NSString *returnFlag;//"returnFlag": "0",  退换货
@property (nonatomic,strong)NSString *market_price;//"market_price": 79,


@property (nonatomic,strong)NSString *thNormalType;//"thNormalType": "囤货普通预购：0，否；1，是",


@end


/*
 * 接口名称：	order_listpage
 接口用途：	分页查询我的订单列表
 method：	POST
 接口地址：	order/listpage
 输入参数：
 key	参数类型	是否必须	参数解释
 status	int	是	订单状态（待付款：01，待发货：02，待收货：03，待评价：401）
 pagesize	int	是	显示多少条
 pageno	int	是	当前第几页
 返回数据：
{
     "success": "true/false //成功/失败",
     "msg": "xxx //返回消息",
     "code": "xxx //返回编码",
     "data":
             {
             "total": "xxx//总记录数",
             "pageno": "xxx//当前第几页",
             "pagesize": "xxx//每个显示多少条",
             "rows":
                     [
                         {
                         "deliver": "xxx,//发货地",
                         "amount": "xxx//订单商品总数",
                         "order_id": "订单id",
                         "order_no": "xxx//订单号",
                         "order_amount": "xxx//订单总金额",
                         "express_amount": "xxx//运费",
                         "status_name": "xxx//状态名称",
                         "status": "xxx//订单状态",
                         "own_calcle_flag": "xxx//是否可取消订单（1可取消，0不可取消）",
                         "channel_type": "渠道类型01：自营 02：全球购 03：供应商",
                         "customs_tax_amount_total": "xxx//海关税（全球购）总额",
                         "order_goods_count": "xxx//订单商品总件数",
                         "splitFlag": "xx//0:不可拆单，1：可拆单",
                         "plan_deliver_date": "xxx//预计发货日期",
                         "order_created_date": "xxx//用户下单时间",
                         "evaluation_flag": "xxx//去评价标识：1去评价；0不显示去评价",
                         "item_list":
                                     [
                                             {
                                                 "order_item_id": "xxx//订单子项表ID",
                                                 "goods_id": "xxx//商品ID",
                                                 "goods_img": "xxx//商品图片",
                                                 "goods_name": "xxx//商品名称",
                                                 "sale_property": "xxx//销售属性描述，颜色：黑色",
                                                 "goods_pro_rel1": "xxx//商品销售属性1",
                                                 "goods_pro_rel2": "xxx//商品销售属性2",
                                                 "goods_pro_rel3": "xxx//商品销售属性3",
                                                 "goods_pro_rel4": "xxx//商品销售属性4",
                                                 "goods_pro_rel5": "xxx//商品销售属性5",
                                                 "member_price": "xxx//会员价",
                                                 "tax_amount": "xxx//糖赋",
                                                 "customs_tax_amount": "xxx//海关税（全球购",
                                                 "discount_amount": "xxx//糖惠金（全球购",
                                                 "total_amount": "xxx//实付款",
                                                 "amount": "xxx//商品数量",
                                                 "plan_deliver_date": "xxx//预计发货日期",
                                                 "evaluation_flag": "xxx//评价标识 1去评价,0不评价",
                                             }
                                     ]
                         }
                     ]
             }
}
 备注：
 请求参数：
 status:xxx//订单状态（待付款：01，待发货：02，待收货：03，待评价：401）
 pagesize:xx//显示多少条
 pageno:xxx当前第几页
 
 */
@interface BkMyOrderRecommendModel : NSObject

@property(nonatomic,copy) NSString *channelType; //商品渠道[1:国内商品，2：跨境淘，3：有糖自营，4：有糖众筹]
@property(nonatomic,copy) NSString *goodsCoverImg; //商品图片
@property(nonatomic,copy) NSString *goodsId; //商品id
@property(nonatomic,copy) NSString *goodsMarketPrice; //市场价格
@property(nonatomic,copy) NSString *goodsName; //商品名称
@property(nonatomic,copy) NSString *goodsPrice; //商品平台价
@property(nonatomic,copy) NSString *status; //商品状态1：上架，4：即将上线
@property(nonatomic,copy) NSString *upText; //起字


@end



































